package com.jeecms.wicool.dao.user;

import java.util.List;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.user.ScoreTrade;
/**
 * 交易积分DAO接口
 */
public interface ScoreTradeDao{
	public Pagination getPage(Integer userId,String userName ,int pageNo, int pageSize);
	public ScoreTrade findById(Integer id);
	public ScoreTrade updateByUpdater(Updater<ScoreTrade> updater);
	public ScoreTrade save(ScoreTrade bean);
	public ScoreTrade deleteById(Integer id);
	public List<ScoreTrade> getListScoreTradeByUserId(Integer userId);
}